﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp3
{
      class And : Program
    {
        public string name { get; set; }
        public int Id { get; set; }
        public string school { get; set; }
        public string home { get; set; }

        public void work()
        {
            Console.WriteLine("姓名："+name);
        }
        public void Idis()
        {
            Console.WriteLine("学号"+Id);
        }
        public void schoolinwere()
        {
            Console.WriteLine("在"+school+"就读");
        }
        public void homeinwere()
        {
            Console.WriteLine( "住在"+home);
        }
    }
}
